<?php
namespace app\index\controller;
use think\Session;
use think\Db;
use app\index\model\History_model;

class History extends Common
{
    // 历史记录
    public function index()
    {
        $this->getAuth();
        
        $rev = new History_model;
        $res = $rev->getindex();
        return view('index@History/index',[
            'node' => $res['list'],
            'record' => $res['record'],
            'page' => $res['page']
        ]);
    }

}

